﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YJYpublicClass
{
    class PLCmodulBus : PLC通讯接口
    {
        HslCommunication.ModBus.ModbusTcpNet Modbus = new HslCommunication.ModBus.ModbusTcpNet();
        public bool Connection { get; set; }

        public string Mes { get; set; }

        public ConfigBase cf { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }

        public void Close()
        {
            
            
        }

        public bool CloseChx(int chNo)
        {
            throw new NotImplementedException();
        }

        public void Connect()
        {
            throw new NotImplementedException();
        }

        public int[] GetValue()
        {
            throw new NotImplementedException();
        }

        public int GetValue(int chNo)
        {
            throw new NotImplementedException();
        }

        public bool IsExists()
        {
            throw new NotImplementedException();
        }

        public bool OpenChx(int chNo)
        {
            throw new NotImplementedException();
        }

        public bool SetValue(int chNo, int val)
        {
            throw new NotImplementedException();
        }

        public bool SetValues(int[] channelArray, int[] values)
        {
            throw new NotImplementedException();
        }
    }
    public class PLCconfig:Config
    {

    }
}
